

namespace YoYoMoocExampleApp.Models{
    public class DataProductRepository : IProductRepository
    {

        public  ProductDbContext context;

        public DataProductRepository(ProductDbContext ctx)
        {
            context=ctx;
        }
        public IQueryable<Product> Products => context.Products;
    }
}